<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>我的主页</title>
</head>
<body>
       <form action="ABCServlet" method="get">
            <input type="text" name="name" placeholder="输入姓名">
            <br><br>
            兴趣爱好：
            <br>
            <input type="checkbox" name="hobby" value="唱">唱
            <input type="checkbox" name="hobby" value="跳">跳
            <input type="checkbox" name="hobby" value="rap">rap
            <input type="checkbox" name="hobby" value="打篮球">打篮球    
            <br><br>
            <input type="submit" value="提交">
        </form>
</body>
</html>